#ifndef _EXCEPTIONS_H_
#define _EXCEPTIONS_H_
#include <cstring>

/*****************************************************************************/
/**********				Common Exceptions for all cpp files			**********/
/*****************************************************************************/

namespace DataStructuresWet1
{
/****************************************
 *	Exception: Base Exception class		*
 ****************************************/
class Exception
{
public:
	Exception(const char* message = NULL);
	const char* GetMessage();
protected:
	const char* message;
};

/****************************************
 *			InvlidInputException		*
 ****************************************/
class InvalidInputException : public Exception
{
public:
	InvalidInputException(const char* message = NULL);
};

/****************************************
 *			FailureException			*
 ****************************************/
class FailureException : public Exception
{
public:
	FailureException(const char* message = NULL);
};

}
#endif //_EXCEPTIONS_H_
